# from django.db.models import ImageField, FileField


# class ImageFieldFild(ImageField, FileField):
#     def delete(self, save = True):
#         if hasattr(self, '_dimensions_cache'):
#             del self._dimensions_cache
#
#         super(ImageFieldFild, self).delete(save)
#
#     @property
#     def url(self):
#         self._require_file()
#         return self.storage.url(self.name)
#
#
#     def url(self, name):
#
#         raise NotImplementedError('subclasses of Storage must be provide a url() method')
